<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<div id="varCate" class="content">
    <h2>Variable Categories</h2>
    <logic:iterate id="category" name="variableCategoriesForm" property="categoryList">
        <p>
            <a href="<html:rewrite page="/variable-categories.do" />?categoryID=<bean:write name="category" property="categoryID" />">
                <bean:write name="category" property="name" />
            </a>
            <br>
            <logic:notEmpty name="category" property="description">
                <bean:write name="category" property="description" />
            </logic:notEmpty>
        </p>
    </logic:iterate>
</div>